%ion-view(hide-nav-bar="true")
  %ion-header-bar.bar-furion(align-title="center")
    %button.back-button(ng-click="goBack()")
    %h1.title 账户安全

  %ion-content
    .margin-top-20

    .list.list-divided
      .item(style="line-height: 40px;")
        头像
        .item-note
          %img(src="img/avatar/dynamic/05.jpg" style="width:40px; border-radius: 50%;")
      .divider
      .item.item-icon-right(ui-sref="nickname")
        昵称
        .item-note {{current_account.base.vname ? current_account.base.vname : '去设置'}}
        %i.icon.ion-ios-arrow-right

    .list.list-divided
      .item
        账户
        .item-note
          {{current_account.base.cname | phoneHide}}
      -# .divider
      -# .item(ng-click="clickAuth()" ng-class="{'item-icon-right': !current_account.authenticated}")
      -#   实名认证
      -#   .item-note {{current_account.authenticated ? '已认证' : '未认证'}}
      -#   %i.icon.ion-ios-arrow-right(ng-if="!current_account.authenticated")

    .list.list-divided
      %a.item.item-icon-right(ng-click="openGetPass()")
        修改登录密码
        %i.icon.ion-ios-arrow-right
      -# .divider
      -# %a.item.item-icon-right(ui-sref="forget-pay-password")
      -#   修改交易密码
      -#   %i.icon.ion-ios-arrow-right
      .divider
      %a.item.item-icon-right(ui-sref="gesture-setting")
        手势密码
        %i.icon.ion-ios-arrow-right

    .text-center
      %button.furion-button(ng-if="is_login" ng-click="openConfirm()")
        退出登录
      %button.furion-button(ng-if="!is_login" ng-click="signin()")
        登录

